package cn.lifei.auth.mapper;

import cn.lifei.auth.domain.Permission;
import cn.lifei.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lifei
 * @since 2023-12-03
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    void deleteAll();

    List<Permission> tree();
}
